<?php

namespace IDock\Insurance\ACIC\Response\NonCar;

use IDock\Http\Response;
use IDock\Insurance\ACIC\Response\AllACICResponse;

class NonCarCollectionResponse extends AllACICResponse
{

    /**
     * 保单号
     * @var string $policyNo
     */
    public $policyNo = '';

    public function printerInit(): Response
    {
        $this->policyNo = $this->get('PolicyList')['PolicyItem']['PolicyNo'] ?? '';

        return $this;
    }
}
